const http = require("http");


http.request({
    hostname: '127.0.0.1',
    port: 9988,
    path: '/sqx',
    method: 'GET',
}, (res) => {
    res.setEncoding("utf8")
    res.on('data', (ck) => {
        if(res.statusCode === 200){
            console.log(ck)
        }
    })
}).end();